#define _CRT_SECURE_NO_WARNINGS
#pragma once
#include <stdio.h>
#include <malloc.h>
#include <assert.h>
#include <memory.h>
#include <stdlib.h>
#include <iostream>
#include <stack>
using namespace std;

#define ElemType int
#define P 13

typedef struct HashNode {
	ElemType data;
	struct HashNode *link;
}HashNode;

typedef HashNode *HashTable[P];


void InitHashTable(HashTable &ht);
void InsertHashTable(HashTable &ht, ElemType x);
bool RemoveHashTable(HashTable &ht, ElemType key);